package com.api.syh56.shengyunhui.service;

import java.util.Map;

public interface WechatPayService {

    /**
     * 微信支付
     * @param code
     * @param waybillId
     * @param quoteId
     * @param priceType
     * @param platform
     * @return
     */
    Map<String,String> jsapiAndAppPrepay(String code, Long waybillId, Long quoteId, String priceType, String platform);


    /**
     * 微信支付退款
     * @param waybillId
     * @param role
     */
    void wxpayrefund(Long waybillId,Short role);
}
